Optimal. Leaf size=76 \[ \frac {b^2 \log (a+b x)}{a^2 (b c-a d)}-\frac {\log (x) (a d+b c)}{a^2 c^2}-\frac {d^2 \log (c+d x)}{c^2 (b c-a d)}-\frac {1}{a c x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 76, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {72} \[ \frac {b^2 \log (a+b x)}{a^2 (b c-a d)}-\frac {\log (x) (a d+b c)}{a^2 c^2}-\frac {d^2 \log (c+d x)}{c^2 (b c-a d)}-\frac {1}{a c x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 72
Rubi steps
\begin {align*} \int \frac {1}{x^2 (a+b x) (c+d x)} \, dx &=\int \left (\frac {1}{a c x^2}+\frac {-b c-a d}{a^2 c^2 x}-\frac {b^3}{a^2 (-b c+a d) (a+b x)}-\frac {d^3}{c^2 (b c-a d) (c+d x)}\right ) \, dx\\ &=-\frac {1}{a c x}-\frac {(b c+a d) \log (x)}{a^2 c^2}+\frac {b^2 \log (a+b x)}{a^2 (b c-a d)}-\frac {d^2 \log (c+d x)}{c^2 (b c-a d)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 78, normalized size = 1.03 \[ -\frac {b^2 \log (a+b x)}{a^2 (a d-b c)}+\frac {\log (x) (-a d-b c)}{a^2 c^2}-\frac {d^2 \log (c+d x)}{c^2 (b c-a d)}-\frac {1}{a c x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.28, size = 88, normalized size = 1.16 \[ \frac {b^{2} c^{2} x \log \left (b x + a\right ) - a^{2} d^{2} x \log \left (d x + c\right ) - a b c^{2} + a^{2} c d - {\left (b^{2} c^{2} - a^{2} d^{2}\right )} x \log \relax (x)}{{\left (a^{2} b c^{3} - a^{3} c^{2} d\right )} x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.88, size = 89, normalized size = 1.17 \[ \frac {b^{3} \log \left ({\left | b x + a \right |}\right )}{a^{2} b^{2} c - a^{3} b d} - \frac {d^{3} \log \left ({\left | d x + c \right |}\right )}{b c^{3} d - a c^{2} d^{2}} - \frac {{\left (b c + a d\right )} \log \left ({\left | x \right |}\right )}{a^{2} c^{2}} - \frac {1}{a c x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 82, normalized size = 1.08 \[ -\frac {b^{2} \ln \left (b x +a \right )}{\left (a d -b c \right ) a^{2}}+\frac {d^{2} \ln \left (d x +c \right )}{\left (a d -b c \right ) c^{2}}-\frac {d \ln \relax (x )}{a \,c^{2}}-\frac {b \ln \relax (x )}{a^{2} c}-\frac {1}{a c x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.15, size = 80, normalized size = 1.05 \[ \frac {b^{2} \log \left (b x + a\right )}{a^{2} b c - a^{3} d} - \frac {d^{2} \log \left (d x + c\right )}{b c^{3} - a c^{2} d} - \frac {{\left (b c + a d\right )} \log \relax (x)}{a^{2} c^{2}} - \frac {1}{a c x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.21, size = 78, normalized size = 1.03 \[ \frac {d^2\,\ln \left (c+d\,x\right )}{c^2\,\left (a\,d-b\,c\right )}-\frac {1}{a\,c\,x}-\frac {b^2\,\ln \left (a+b\,x\right )}{a^3\,d-a^2\,b\,c}-\frac {\ln \relax (x)\,\left (a\,d+b\,c\right )}{a^2\,c^2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________